package com.springboot.service.impl;

import com.springboot.mapper.MenuMapper;
import com.springboot.model.Menu;
import com.springboot.service.MenuService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Author: TongRui乀
 * @Date: 2020-02-13 9:11
 * @description：
 */
@Service
public class MenuServiceImpl implements MenuService {

    @Autowired
    private MenuMapper menuMapper;

    @Override
    public Menu getMenuById(Integer id) {
        return this.menuMapper.selectById(id);
    }
}
